// 竖向滚动条
$color-theme-warning: #ffa533;
// $color-theme-primary: #409eff;
$color-theme-primary: var(--el-color-primary);
$color-doc-theme: #0076f6;
$color-flow-chart: #e36e07;
$color-xmind-theme: #53b69e;
$color-ppt-theme: #f59a23;
:root {
  --tag-color: #fbc02d;
}
// 流程图颜色
.flow-chart-color {
  color: $color-flow-chart;
}
// xmind颜色
.xmind-theme-color {
  color: $color-xmind-theme;
}
// doc颜色
.doc-theme-color {
  color: $color-doc-theme;
}
// ppt
.ppt-theme-color {
  color: $color-ppt-theme;
}
// 文字超出隐藏（单行）
@mixin textBeyondOmit {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

// 文字超出隐藏（多行）
@mixin textMultipleBeyondOmit($num) {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: $num;
  -webkit-box-orient: vertical;
}
@mixin scrollBar {
  /*整体部分*/
  &::-webkit-scrollbar {
    width: 8px;
  }
  /*滑动轨道*/
  &::-webkit-scrollbar-track {
    border-radius: 0px;
    background-color: #f6f6f6;

    &:hover {
      background-color: #f6f6f6;
    }
  }
  /*滑块*/
  &::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #ccc;

    &:hover {
      background-color: #ccc;
    }
  }
}
